package com.education.auth.client;

import com.education.common.utils.ApiReturnObject;
import com.education.user.api.UserApi;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author: ly
 * @create: 2018-07-07 18:09
 **/
@FeignClient("wisdom-service")
public interface WisdomFeign extends UserApi {

    /**
     * 引入查询老师接口
     * @return 学生入学信息 /api/auth/accredit
     */
    @RequestMapping(value = "/web/message/selectCount", method = RequestMethod.GET)
    Integer selectCount(@RequestParam("userId") String userId);
}
